<template>
  <div class="content">内容</div>
</template>

<script>
import { getPostcontent } from "@/api/artical";
export default {
  data() {
    return {};
  },
  async mounted() {
    console.log(this.$route);
    const { id } = this.$route.query;
    const res = await getPostcontent(id);
    console.log(res);
  },
};
</script>

<style>
</style>